package com.iheima.domain;

import java.util.List;

public class PageBean<T> {
    /** 当前页码 */
    private int pageNumber;
    /** 每页几条 */
    private int pageSize;
    /** 总数量 */
    private int totalCount;
    /** 总页数 */
    private int pageCount;
    /** 当前页的数据集合 */
    private List<T> dataList;

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public int getPageSize() {
        return pageSize;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}